【例子介绍】CAD格式DXF档C#读写(DXF块分割)
此例 是把DXF档中的多个块分割成单独的块并保存为单独的DXF档 (例子中含,圆,直线等类源码,供参考)VS2019 ,可直接运行;
【相关图片】
【源码结构】
.
├── AppDxfReadAndWrite
│ ├── AppDxfReadAndWrite
│ │ ├── AppDxfReadAndWrite.csproj
│ │ ├── DXFLibrary
│ │ │ ├── Arc.cs
│ │ │ ├── Block.cs
│ │ │ ├── Blocks.cs
│ │ │ ├── Circle.cs
│ │ │ ├── Data.cs
│ │ │ ├── Document.cs
│ │ │ ├── Element.cs
│ │ │ ├── EndBlk.cs
│ │ │ ├── Entities.cs
│ │ │ ├── Entity.cs
│ │ │ ├── Header.cs
│ │ │ ├── Insert.cs
│ │ │ ├── Layer.cs
│ │ │ ├── Line.cs
│ │ │ ├── Line3D.cs
│ │ │ ├── LineType.cs
│ │ │ ├── PolyLine.cs
│ │ │ ├── Reader.cs
│ │ │ ├── Section.cs
│ │ │ ├── SeqEnd.cs
│ │ │ ├── Style.cs
│ │ │ ├── Table.cs
│ │ │ ├── TableEntry.cs
│ │ │ ├── Tables.cs
│ │ │ ├── Text.cs
│ │ │ ├── UnexpectedElement.cs
│ │ │ ├── Variable.cs
│ │ │ ├── Vertex.cs
│ │ │ └── Writer.cs
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── app.config
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── ARLQ009 鞋舌.dxf
│ │ │ ├── AppDxfReadAndWrite.exe
│ │ │ ├── AppDxfReadAndWrite.exe.config
│ │ │ ├── AppDxfReadAndWrite.pdb
│ │ │ ├── AppDxfReadAndWrite.vshost.exe
│ │ │ ├── AppDxfReadAndWrite.vshost.exe.config
│ │ │ ├── AppDxfReadAndWrite.vshost.exe.manifest
│ │ │ ├── k-8 TD鞋头 鞋舌下片 魔术带后.DXF.dxf
│ │ │ ├── test2-1.dxf
│ │ │ ├── test2.bak
│ │ │ ├── test2.dxf
│ │ │ └── 图档
│ │ │ └── ARLQ009 鞋舌
│ │ │ └── $MODEL_SPACE.dxf
│ │ └── obj
│ │ └── Debug
│ │ ├── AppDxfReadAndWrite.Form1.resources
│ │ ├── AppDxfReadAndWrite.Properties.Resources.resources
│ │ ├── AppDxfReadAndWrite.csproj.CoreCompileInputs.cache
│ │ ├── AppDxfReadAndWrite.csproj.FileListAbsolute.txt
│ │ ├── AppDxfReadAndWrite.csproj.GenerateResource.cache
│ │ ├── AppDxfReadAndWrite.csprojResolveAssemblyReference.cache
│ │ ├── AppDxfReadAndWrite.dll
│ │ ├── AppDxfReadAndWrite.exe
│ │ ├── AppDxfReadAndWrite.pdb
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ └── TempPE
│ │ └── Properties.Resources.Designer.cs.dll
│ └── AppDxfReadAndWrite.sln
└── CAD格式DXF档C#读写(DXF块分割)_AppDxfReadAndWrite.zip
11 directories, 66 files
附件包含以下文件及目录(5T6T.COM自动生成)
AppDxfReadAndWrite/
DXFLibrary/
Arc.cs
Block.cs
Blocks.cs
Circle.cs
Data.cs
Document.cs
Element.cs
EndBlk.cs
Entities.cs
Entity.cs
Header.cs
Insert.cs
Layer.cs
Line.cs
Line3D.cs
LineType.cs
PolyLine.cs
Reader.cs
Section.cs
SeqEnd.cs
Style.cs
Table.cs
TableEntry.cs
Tables.cs
Text.cs
UnexpectedElement.cs
Variable.cs
Vertex.cs
Writer.cs
Properties/
AssemblyInfo.cs
Resources.resx
Resources.Designer.cs
Settings.settings
Settings.Designer.cs
bin/
Debug/
图档/
ARLQ009 鞋舌/
$MODEL_SPACE.dxf
ARLQ009 鞋舌.dxf
AppDxfReadAndWrite.exe
AppDxfReadAndWrite.pdb
AppDxfReadAndWrite.exe.config
AppDxfReadAndWrite.vshost.exe
AppDxfReadAndWrite.vshost.exe.config
AppDxfReadAndWrite.vshost.exe.manifest
k-8 TD鞋头 鞋舌下片 魔术带后.DXF.dxf
test2.bak
test2.dxf
test2-1.dxf
obj/
Debug/
TempPE/
Properties.Resources.Designer.cs.dll
.NETFramework,Version=v4.0.AssemblyAttributes.cs
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs
AppDxfReadAndWrite.dll
AppDxfReadAndWrite.exe
AppDxfReadAndWrite.pdb
AppDxfReadAndWrite.Form1.resources
AppDxfReadAndWrite.Properties.Resources.resources
AppDxfReadAndWrite.csproj.CoreCompileInputs.cache
AppDxfReadAndWrite.csproj.FileListAbsolute.txt
AppDxfReadAndWrite.csproj.GenerateResource.cache
AppDxfReadAndWrite.csprojResolveAssemblyReference.cache
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
AppDxfReadAndWrite.csproj
Form1.cs
Form1.resx
Form1.Designer.cs
Program.cs
app.config
AppDxfReadAndWrite.sln
评论